package com.eamois.dao.sys;

import java.util.Collection;

import com.eamois.dao.BaseDao;
import com.eamois.domain.sys.SubMaterial;
import com.eamois.domain.sys.SubMaterialType;

public interface SubMaterialTypeDao extends BaseDao<SubMaterialType>{
	
	Collection<SubMaterialType> findRootType();
	
	Collection<SubMaterialType> findTypeByParent(SubMaterialType subMaterialType);
	SubMaterialType findTypeByName(String name);
	
}
